package com.cfec.educationplatform.service;

import com.cfec.educationplatform.domain.BetPraHistoryResult;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cfec.educationplatform.util.ResultData;
import org.springframework.stereotype.Service;

/**
* @author diyu
* @description 针对表【bet_pra_history_result(练习历史和练习详情的中间表)】的数据库操作Service
* @createDate 2025-04-12 10:35:50
*/
@Service
public interface BetPraHistoryResultService extends IService<BetPraHistoryResult> {

    ResultData<Object> getHistory(Long userId);

    ResultData<Object> getTopicInfo(Long userId);

    ResultData<Object> getErrAll(Long userId);

    ResultData<Object> deleteErrByID(Long userId, Long resultId);

    ResultData<Object> getErrByClassify(Long userId);

    ResultData<Object> GetPraHistoryDetails(Long historyId);

    ResultData<Object> getErrBySubject(Long userId);
}
